//
//  XDBaseViewController.h
//  HengHuaSupervision
//
//  Created by XD-XY on 3/20/14.
//  Copyright (c) 2014 XD-XY. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface XDBaseViewController : UIViewController


@property (nonatomic,strong)UIView * navigationBarView;
@property (nonatomic,strong)UIImageView * navigationBarBg;
@property (nonatomic,strong)UIView * contentView;

@property (nonatomic,strong)UILabel * titleLabel;  //自定义导航栏标题栏
@property (nonatomic,strong)UIButton * backBtn;    //返回按钮
@property (nonatomic,strong)UIButton * userBtn; //用户头像按钮（本来是用UILabel就行了，但是考虑到以后功能的需求用UIButton）
@property (nonatomic,strong)UILabel * userLabel;   //用户名
@property (nonatomic,strong)UIButton * waitSubmitBtn;  //待提交按钮
@property (nonatomic,strong)UIButton * initlalizeBtn; //数据初始化按钮
@property (nonatomic,strong)UILabel * waitSubmitLabel; //待提价标签
@property (nonatomic,strong)UILabel * initlalizeLabel; //数据初始化标签

@property (nonatomic,strong)NSArray * assert_info_array; //设备监造首页表头字段
@property (nonatomic,strong)NSArray * sumit_info_array; //待提交页面表头字段
@property (nonatomic,strong)NSArray * label_edit_array; //标签管理
@property (nonatomic,strong)NSArray * press_ifo_array; //提交页面属性字段
@property (nonatomic,strong)NSArray * details_info_array;//详细信息表字段
@property (nonatomic,strong)UIButton * remindBtn;       //本地提交的提醒红按钮

-(void)setHiddenBackBtn:(BOOL)ishidden;
-(void)pushNewVC:(XDBaseViewController *)sender;
-(void)gotoSubmitViewController;
-(void)calculateRemindBtnFrame:(NSString *)titleCount;
@end
